package com.shoulder.boot.ops.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shoulder.boot.ops.entity.Machine;
import com.shoulder.core.annotation.ScopeAuth;
import org.apache.ibatis.annotations.Select;

/**
* 机器信息 Mapper 接口
*
* @author unKnown
* @since 2025-03-30 16:16:55
*/
public interface MachineMapper extends BaseMapper<Machine> {

    @ScopeAuth(required = false)
    @Select("select * from machine where id = #{id} and is_delete = 0")
    Machine noneScopeById(String id);
}